package com.imot.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 故障参数阈值表
 * </p>
 *
 * @author wangjiah
 * @since 2023-11-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("error_thresholds")
@ApiModel(value="ErrorThresholds对象", description="故障参数阈值表")
public class ErrorThresholds implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键自增id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "上阈值")
    private Float upperThreshold;

    @ApiModelProperty(value = "下阈值")
    private Float lowerThreshold;

    @ApiModelProperty(value = "故障参数参数")
    private String errorParameter;

    @ApiModelProperty(value = "故障信息表的id")
    private Integer emaErrorRecordId;


}
